package service.impl;

import java.sql.SQLException;
import java.util.List;

import domain.vo.queryObject;

import module.Employees;
import service.employeesService;
/**
 * 
* @ClassName: EmployeesServiceImpl
* @Description: 员工服务层实现类
* @author chenchao
* @date 2013-10-31 上午06:07:22
*
 */
public class EmployeesServiceImpl extends employeesService{

	/* (non-Javadoc)
	 * @see service.basicService#countByQueryObject(domain.vo.queryObject)
	 */
	public int countByQueryObject(queryObject queryObject) throws SQLException {
		// TODO Auto-generated method stub
		return employessDAO.countByQueryObject(queryObject);
	}

	/* (non-Javadoc)
	 * @see service.basicService#getObjectByQueryObject(domain.vo.queryObject)
	 */
	public List<Employees> getObjectByQueryObject(queryObject queryObject) throws SQLException {
		// TODO Auto-generated method stub
		return employessDAO.getObjectByQueryObject(queryObject);
	}

	/* (non-Javadoc)
	 * @see service.basicService#deleteT(java.lang.Object)
	 */
	public void deleteT(Employees t) throws SQLException {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#getAll()
	 */
	public List<Employees> getAll() throws SQLException {
		// TODO Auto-generated method stub
		return employessDAO.getAll();
	}

	/* (non-Javadoc)
	 * @see service.basicService#getById(java.lang.String)
	 */
	public Employees getById(String id) throws SQLException {
		// TODO Auto-generated method stub
		return employessDAO.getById(id);
	}

	/* (non-Javadoc)
	 * @see service.basicService#insertObject(java.lang.Object)
	 */
	public void insertObject(Employees t) throws SQLException {
		employessDAO.insertT(t);
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#updateObject(java.lang.Object)
	 */
	public void updateObject(Employees t) throws SQLException {
		employessDAO.updateT(t);
		
	}

}
